<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			/**
			 * 非数值的比较：会将其转换为数字再比较
			 * 		如果符号两侧都是字符串，不会转换为数字，而是直接比较其Unicode编码值
			 * */
			 var a = 3, b = 4;
			 var result = a < b;
			 console.log(result);
			 
			 a = "3";
			 b = "4";
			 result = a < b;
			 console.log(result);
			 
			 a = "13";
			 b = "4";
			 result = a < b;
			 console.log(result);
			
		</script>
	</body>
</html>
